package cn.agiledata.bank.hibernateBean;

public class Bank extends BankInfo{
	private static final long serialVersionUID = 3172433794271132219L;

	private BankInfo bank;

    private boolean b2bSupported;

    public Bank(BankInfo bank) {
        this.bank = bank;
    }

    public Long getId() {
        return this.bank.getId();
    }

    public String getBankName() {
        return this.bank.getBankName();
    }

    public String getBankCode() {
        return this.bank.getBankCode();
    }
    
    public String getLinkCode() {
    	return this.bank.getLinkCode();
    }

    public boolean isB2bSupported() {
        return this.b2bSupported;
    }

    public void setB2bSupported(boolean supported) {
        this.b2bSupported = supported;
    }

    public String getTelBankNo() {
        return this.bank.getTelBankNo();
    }
    
    public Integer getPri() {
    	return this.bank.getPri();
    }
}
